package com.example.service;

import com.example.model.Student;

import java.util.List;

/**
 * Created by echisan on 2018/6/25
 */
public interface StudentService {

    void insertStudent(Student student);

    void deleteStudentById(Integer id);

    void updateStudent(Student student);

    Student getStudentById(Integer id);

    Student getStudentByStuNo(String stuNo);

    List<Student> listStudentsByName(String name);

    List<Student> listStudents();
}
